package com.example.multidatasource.db2.mapper;

import com.example.multidatasource.db2.entity.DocShare;
import com.example.multidatasource.db2.entity.DocShareExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DocShareMapper {
    long countByExample(DocShareExample example);

    int deleteByExample(DocShareExample example);

    int deleteByPrimaryKey(String id);

    int insert(DocShare record);

    int insertSelective(DocShare record);

    List<DocShare> selectByExample(DocShareExample example);

    DocShare selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") DocShare record, @Param("example") DocShareExample example);

    int updateByExample(@Param("record") DocShare record, @Param("example") DocShareExample example);

    int updateByPrimaryKeySelective(DocShare record);

    int updateByPrimaryKey(DocShare record);
}